package com.tsp_tux.demo.Entity;

/**
 * 返回的实体
 * code:int 返回的状态码
 * msg:String 返回的状态信息简述
 * data:Object 一般表示为JSON
 * <p>
 *
 * @author 沈育洋
 */
public class RespBean {
    private int code;
    private String msg;
    private Object data;


    public RespBean(int code, String msg, Object data) {
        this.code = code;
        this.msg = msg;
        this.data = data;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public Object getData() {
        return data;
    }

    public void setData(Object data) {
        this.data = data;
    }
}
